<?php
include 'view/all.php';
$location = 'http://'.$_SERVER['HTTP_HOST'].'/salusme/user/view/';
/*
 * This is left menu
 */
?>

<div class="float_left profile_left margin_10">
                <div class="emrg_btn" style="margin-bottom: 10px"></div>                    
                <a href="<?php echo $location.'profile'; ?>"><div id="anagraphic" class="main_menu <?php if($tu==true){ echo 'visited_left';} ?>"><?=$me_left_user[$l]?></div></a>
                <a href="<?php echo $location.'Allergies'; ?>"><div id="" class="main_menu <?php if($talg==true){ echo 'visited_left';} ?> "><?=$me_left_aller[$l]?></div></a>   
                <a href="<?php echo $location.'Vaccinations'; ?>"><div id="vaccinations" class="main_menu <?php if($tvac==true){ echo 'visited_left';} ?> "><?=$me_left_vaccin[$l]?></div></a>  
                <a href="<?php echo $location.'Diseases'; ?>"> <div class="main_menu <?php if($tdsg==true){ echo 'visited_left';} ?> " id="diseases_registry "><?=$me_left_dise[$l]?></div></a>        
                <a href="<?php echo $location.'Surgeries'; ?>"><div class="main_menu  <?php if($tser==true){ echo 'visited_left';} ?> " id="register_interventions"><?=$me_left_surg[$l]?></div></a>        
                <a href="<?php echo $location.'Therapies'; ?>">  <div class="main_menu <?php if($ther==true){ echo 'visited_left';} ?> " id="therapies"> <?=$me_left_ther[$l]?></div></a>
                <a href="<?php echo $location.'Device'; ?>">  <div class="main_menu <?php if($tdvc==true){ echo 'visited_left';} ?> " id="device"> <?=$me_left_dev[$l]?></div></a>
                <a href="<?php echo $location.'inbox'; ?>"> <div class="main_menu <?php if($in ==true){ echo 'visited_left';} ?>"><?=$me_left_inbox[$l]?></div></a>                
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusme/user/folder/FolderList"; ?>"><div class="main_menu <?php if($foldmenu==true){    echo 'visited_left'; } ?> "><?=$me_left_folders[$l]?></div></a>
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusme/user/view/Records"; ?>"><div class="main_menu <?php if($rep==true){    echo 'visited_left'; } ?> "><?=$me_left_records[$l]?></div></a>
                <a href="<?php echo $location.'Cards'; ?>"><div class="main_menu <?php if($cards ==true){ echo 'visited_left';} ?>">CARDS</div></a>
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusme/user/"; ?>logout"><div class="main_menu"><?=$me_left_out[$l]?></div></a>
                <a href="#"><div  onclick="location.href='<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/salusme/user/view/CreateFolder'; ?>'" class="cartell"></div></a>
                <a href="<?php echo "http://".$_SERVER['HTTP_HOST']."/salusme/user/view/Personal_Agenda"; ?>"><div class="agenda_special"></div></a>
                <div class="clear"></div>
            </div>